class CycleArray:
    def __init__(self,size =1):
        self.size = size
        self.arr = [None]*size
        self.start = 0
        self.end =0
        self.count =0
    def resize(self,new_size):
        # 创建新的数组 
        new_arr = [None] * new_size
        # 将旧的数组复制到新的数组中去 
        for i in range (new_size):
            new_arr[i] = self.arr[(self.start+i)%self.size]
        
        pass